<?php

namespace app\modules\admin\forms\merchant;

use app\common\forms\BaseForm;

class MerchantPaymentForm extends BaseForm{

    public $merchant_id;
    public $mch_no;
    public $sign_key;
    public $mach_no;

    public function rules()
    {
        return [
            ['merchant_id','required','message'=>\Yii::t("app","ID不能为空")],
            ['mch_no','required','message'=>\Yii::t("app","商户号不能为空")],
            ['sign_key','required','message'=>\Yii::t("app","签名秘钥不能为空")],
            ['mach_no','required','message'=>\Yii::t("app","设备号不能为空")],
        ];
    }
}